<template>
    <div class="center-loading"
        v-if="loading"
        v-loading="loading"
        :element-loading-text="text"
        element-loading-background="rgba(0, 0, 0, 0.8)"
    >
    </div>
</template>
<script>
export default {
    name:"LoadingTost",
    props:{
      loading:{
          type:Boolean,
          default:false,
      },
      text:{
          type:String,
          default:"正在为您处理",
      }
    }
}
</script>